//
//  AddCaseCell.m
//  云律司
//
//  Created by 韦淋 on 2017/6/30.
//  Copyright © 2017年 test. All rights reserved.
//

#import "AddCaseCell.h"

@implementation AddCaseCell
- (instancetype)initWithStyle:(UITableViewCellStyle)style reuseIdentifier:(NSString *)reuseIdentifier{
    self = [super initWithStyle:style reuseIdentifier:reuseIdentifier];
    if (self) {
        [self initializeInterface];
    }
    return self;
}
- (void)initializeInterface{
    [self.contentView addSubview:self.lable];
}
- (void)layoutSubviews{
    self.lable.frame = CGRectMake(10, 10, self.contentView.bounds.size.width - 20, 60);
}
- (UILabel *)lable{
    if (!_lable) {
        _lable = [[UILabel alloc] init];
//        _lable.backgroundColor = [UIColor redColor];
        _lable.textAlignment = NSTextAlignmentCenter;
        _lable.font = [UIFont systemFontOfSize:16];
        _lable.layer.borderWidth = 1;
        _lable.layer.borderColor = [[UIColor colorWithRed:33.0f/255.0f green:180.0f/255.0f blue:237.0f/255.0f alpha:1.0f] CGColor];
        _lable.layer.cornerRadius = 5;
        _lable.layer.masksToBounds = YES;
    }
    return _lable;
}

@end
